﻿using System.ComponentModel.DataAnnotations;

namespace DEL.Dzb
{
    //党员
    public class PartyMember : BaseT
    { 
        [Required(ErrorMessage = "姓名不能为空。")]
        [Display(Name = "姓名")]
        public string Name { get; set; }

        [Display(Name = "职位")]
        public string Position { get; set; }

        [Display(Name = "电话")]
        public string Tel { get; set; }

        [Display(Name = "图片")]        
        public string PicPath { get; set;}

        [Required(ErrorMessage = "部门不能为空。")]
        [Display(Name = "所属部门")]
        public int PartyId{ get; set; }
                        
        [Display(Name = "前台显示优秀")]
        public bool IsGood { get; set; }
    }
}
